package com.hyt.it.ogt.kq.service.gov.feign.customerthird;

import com.hyt.common.apiInfor.ApiResponse;
import com.hyt.it.ogt.kq.service.gov.feign.customerthird.model.ExamStudentDTO;
import com.hyt.it.ogt.kq.service.gov.feign.customerthird.model.ZjwExamDTO;
import com.hyt.it.ogt.kq.service.gov.feign.customerthird.model.ZjwExamStudentDTO;
import com.hyt.it.ogt.kq.service.gov.feign.customerthird.model.ZjwKwapDTO;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
@Slf4j
public class CustomerthirdClientHystrix implements CustomerthirdClient {

    @Override
    public ApiResponse<Object> saveExam(List<ZjwExamDTO> zjwExamList) {
        log.error("保存住建委考试数据失败，进入熔断");
        return null;
    }

    @Override
    public ApiResponse<Object> saveKwap(List<ZjwKwapDTO> zjwKwapList) {
        log.error("保存住建委考务安排数据失败，进入熔断");
        return null;
    }

    @Override
    public ApiResponse<Object> saveExamStudent(ExamStudentDTO examStudent) {
        log.error("保存住建委考生数据失败，进入熔断");
        return null;
    }
}
